package com.hoshiibuy.dictionary.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hoshiibuy.dictionary.mapper.IDicDegreeLevelMapper;
import com.hoshiibuy.dictionary.service.IDicDegreeLevelService;
import com.hoshiibuy.dictionary.entity.DicDegreeLevelVo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author guangjinwei
 * @create 2019-04-18
 */
@Service
public class DicDegreeLevelServiceImpl extends ServiceImpl<IDicDegreeLevelMapper, DicDegreeLevelVo> implements IDicDegreeLevelService {
    @Override
    public List<DicDegreeLevelVo> findDicDegreeLevelList() {
        return baseMapper.findDicDegreeLevelList();
    }

    @Override
    public void saveDicDegreeLevel(DicDegreeLevelVo dicDegreeLevelVo) {
        baseMapper.insert(dicDegreeLevelVo);
    }
}
